package com.gxa.customer.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.common.pojo.SysRole;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleMapper extends BaseMapper<SysRole> {
    //1.查询用户角色通过用户id
    List<SysRole> selectRolesByUserId(@Param("userId") Long userId);


}
